package nc.vo.arap.mullevelpay;

import nc.vo.pub.CircularlyAccessibleValueObject;
import nc.vo.pubapp.pattern.model.entity.bill.AbstractBill;
import nc.vo.pubapp.pattern.model.meta.entity.bill.BillMetaFactory;
import nc.vo.pubapp.pattern.model.meta.entity.bill.IBillMeta;

@nc.vo.annotation.AggVoInfo(parentVO = "nc.vo.arap.mullevelpay.MulLevelPayVO")

public class AggMulLevelPayVO extends AbstractBill {
	
	  @Override
	  public IBillMeta getMetaData() {
	  	IBillMeta billMeta =BillMetaFactory.getInstance().getBillMeta(AggMulLevelPayVOMeta.class);
	  	return billMeta;
	  }
	    
	  @Override
	  public MulLevelPayVO getParentVO(){
	  	return (MulLevelPayVO)this.getParent();
	  }
	  
	  public MulLevelPayDetailVO[] getBodyVOs() {
		  CircularlyAccessibleValueObject[] vos = getChildrenVO();
		  
		  if(vos != null) {
			  return (MulLevelPayDetailVO[]) vos;
		  }
		  
		  return null;
	  }
	  
}